-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add tests for connecting with a profile from an aws credentials file MONGOSH-1609 #1733
Conversation
@@ -220,6 +221,7 @@ async function main() { | |||
}); | |||
} catch (e: any) { | |||
console.error(`${e?.name}: ${e?.message}`); | |||
console.error('full error: ' + util.inspect(e, { depth: null })); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover? (Fwiw, I do this a ton too…)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. There's nothing more there anyway ;) Hoped there would at least be an original error or something..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice if we could access the most recent error from the test somehow.
const awsConfigPath = path.join( | ||
os.tmpdir(), | ||
`aws-config-${new Date().getTime()}-${Math.random()}` | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useTmpdir()
from ./repl-helpers.ts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know about that. copy/pasted this from another test.
Blocked on https://jira.mongodb.org/browse/NODE-5747 |
I suppose we can always re-open this if we ever need it. |
No description provided.